<#if prefSoundEditorShowFades>
<+b_dialog dialog_title="Edit Fades and Timing" dw=760>
<#else>
<+b_dialog dialog_title="Edit Timing" dw=760>
<#endif>
<img src=images/button_play.png save=play>
<img src=images/button_pause.png save=pause>
<img src=images/button_stop.png save=stop>
<img src=images/button_start.png save=start>
<img src=images/button_end.png save=end>
<table>
<tr>
	<td bgcolor=#CFD3CD width=40 align=center>
		<img height=66><br><font size=-1 color=#0>Left</font><br>
		<img height=90><br><font size=-1 color=#0>Right</font><br>
		<img height=57><br><font size=-1 color=#0>Track</font><br>
		<img height=5><br>
		<img width=40 height=1 bgcolor=#000000><br>
		<img height=5><br><font size=-1 color=#0>Show</font><br>
	</td>
	<td bgcolor=#CFD3CD><input type=custom name=waveform width=#dw-80 height=280></td>
	<td bgcolor=#CFD3CD width=40 align=center>
		<img height=66><br><font size=-1 color=#0>Left</font><br>
		<img height=90><br><font size=-1 color=#0>Right</font><br>
		<img height=57><br><font size=-1 color=#0>Track</font><br>
		<img height=5><br>
		<img width=40 height=1 bgcolor=#000000><br>
		<img height=5><br><font size=-1 color=#0>Show</font><br>
	</td>
</tr>
</table>
<img src=#line width=#dw height=1><br>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
	<td align=center width=#dw height=24 bgcolor=#colorToolbar>
		<img height=2 bgcolor=#colorToolbar><br>
		<input type=button name=play toolbar=1 width=30 height=20 xpar=#play grayxpar=#play bgcolor=#colorToolbar img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey nofade=1 alt="Play the track." ascent=20>
		<input type=button name=resume toolbar=1 width=30 height=20 xpar=#pause grayxpar=#pause bgcolor=#colorToolbar img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey nofade=1 alt="Pause playback, or resume playback while paused." ascent=20>
		<input type=button name=stop toolbar=1 width=30 height=20 xpar=#stop grayxpar=#stop bgcolor=#colorToolbar img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey nofade=1 alt="Stop playback and return to the starting point." ascent=20>
		<input type=button name=startHere toolbar=1 width=30 height=20 xpar=#start grayxpar=#start bgcolor=#colorToolbar img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey nofade=1 alt="Set the starting time to the current position while playing or paused." ascent=20>
		<input type=button name=endHere toolbar=1 width=30 height=20 xpar=#end grayxpar=#end bgcolor=#colorToolbar img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey nofade=1 alt="Set the ending time to the current position while playing or paused." ascent=20>
	</td>
</tr>
</table>
<center>
<img height=#ds>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
	<td align=right width=60><img height=3><br>Zoom</td>
	<td width=#ds></td>
	<td><input type=slider name=soundZoomScroll bgcolor=#colorGroupBox offset=0 drange=100.0 scrolltype= horz=1 width=240 range=100 page=10 step=1 ascent=10 alt="Zoom in or out"></td>
	<td align=right width=60><img height=3><br>Position</td>
	<td width=#ds></td>
	<td><input type=slider name=soundScroll bgcolor=#colorGroupBox offset=0 drange=99.0 scrolltype= horz=1 width=240 range=100 page=10 step=1 ascent=10 alt="Scroll through\nsound samples"></td>
</tr>
</table>
</center>
<img height=#ds><br>
<img src=#line width=#dw height=1><br>
<img height=#ds><br>		
<table>
<tr>
	<td width=360>
		<table cellspacing=#ds>
		<tr>
			<td align=right width=100>Source</td>
			<td><variable name=fileName></variable></td>
		</tr>
		<tr>
			<td align=right>Duration</td>
			<td><variable name=length></variable></td>
		</tr>
		</table>
	</td>
	<td>
		<table cellspacing=#ds>
		<tr>
			<td width=80 align=right><img height=3><br>Start</td>
			<td><input type=text name=start width=60 ascent=20><img src=#textSecond></td>
			<td><+reset name=resetTime alt="Clear start and\nend times"></td>
		</tr>
		<tr>
			<td align=right width=80><img height=3><br>End</td>
			<td><input type=text name=end width=60 ascent=20><img src=#textSecond></td>
			<td><+reset name=resetTime alt="Clear start and\nend times"></td>
		</tr>
		</table>
	</td>
	<td>
<#if prefSoundEditorShowFades>
		<table cellspacing=#ds>
		<tr>
			<td width=80 align=right><img height=3><br>Fade In</td>
			<td><input type=text name=fadeIn width=60 ascent=20><img src=#textSecond></td>
			<td><+reset name=resetFade alt="Clear fade\ntime"></td>
		</tr>
		<tr>
			<td align=right width=80><img height=3><br>Fade Out</td>
			<td><input type=text name=fadeOut width=60 ascent=20><img src=#textSecond></td>
			<td><+reset name=resetFade alt="Clear fade\ntime"></td>
		</tr>
		</table>
<#endif>
	</td>
</tr>
</table>
<img height=#ds>
<+d_dialog>
	<input type=button name=ok value="Ok" bgcolor=#colorSelection textcolor=#colorSelectionText width=#dbw height=#dbh>
	<img width=#ds>
	<input type=button name=cancel value="Cancel" width=#dbw height=#dbh>
<+e_dialog>


